package com.zlc.workflow.flow.node;

import com.zlc.workflow.constant.NodeType;

/**
 * 分支节点
 *
 * @author zhanglei
 */
public class ForkNode extends BaseNode {

    public ForkNode(String nodeId,String nodeNum, String nodeName) {
        super(nodeId,nodeNum, nodeName);
        this.nodeType = NodeType.FORK;
    }


    public void build(){
        //构建路线
        buildPaths(now);
        //构建节点指针
        createNodePointer();
    }
}
